
export type displayType = "commodity" | "registration" | "brand"
export interface MainDisplayProps {
    displayType: displayType,
    title: string
}


export interface commodityFields {
    commodityCount: string;
    commodityName: string;
    brand: string;
    unit:string;
    params:string;
    registrationUID:string;
    manageStrategy:string;
    commodityTYpe:string;
}



export interface brandFields {
    brandImg: string;
    brandName: string;
    brandCompany: string;
}


export interface registrationFields {
    registrationUID:string;
    registrationType:string;
    registrationDate:string;
    approachDepart:string;
    validateDate:string;
    registerName:string;
    manageStrategy:string;
    registerAddress:string;
    commodityName:string;
    specification:string;
    structure:string;
    scopeOfApplication:string;
    revisionState:string;
    otherContent:string;
    produceAddress:string;
    agentName: string;
    agentAddress: string;
    remark: string;
}

export interface ApplyInfoProps {
    applyType: "add" | "edit";
}

export type AuditType = "add" | "edit" | "match";


export interface AuditProps{
    auditType: AuditType;
}